package com.hyou.sc.eureka.client.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import com.hyou.springboot.annotation.enables.EnableFormValidatorAspect;
import com.hyou.springboot.handler.exception.GlobalExceptionHandler;

/**
 * 登录鉴权服务-入口
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-04-04 13:05:18 初始创建
 */
@EnableEurekaClient
@EnableFormValidatorAspect
@SpringBootApplication(scanBasePackages = "com.hyou.sc.eureka.client.auth",
    scanBasePackageClasses = GlobalExceptionHandler.class)
public class EurekaClientAuthApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(EurekaClientAuthApplication.class, args);
    }
    
}
